<template>
  <div>
    <table border="1" style="border-collapse: collapse;width: 100%;text-align: center;margin-top: 5px;" bordercolor="#dddddd">
      <tr v-for="value,key,index in previewData" :key="index">
        <template v-if="index==0">
          <th>指标/运动员</th>
          <th v-for="item,i in value" :key="i">{{item}}</th>
        </template>
        <template v-else>
          <td>{{dict_meta[value[0].metaId]}}</td>
          <td v-for="item,i in value" :key="i">{{item.ensureScore}}</td>
        </template>
      </tr>
    </table>
  </div>
</template>

<script>
  export default {
    props: ['previewData','dict_meta'],
  }
</script>

<style scoped>

</style>
